package structures;
import pack.MyReader;

public class CardVehicleRecord {

	public static int size = 31;
	
	public final OdometerShort vehicleOdometerBegin; //Int (3)
	public final OdometerShort vehicleOdometerEnd; //Int (3)
	public final TimeReal vehicleFirstUse; //Int (4)
	public final TimeReal vehicleLastUse; //Int (4)
	public final VehicleRegistrationIdentification vehicleRegistration; //(15)
	public final VuDataBlockCounter vuDataBlockCounter; //(2)
	
	public CardVehicleRecord(MyReader reader)
	{
		vehicleOdometerBegin = new OdometerShort(reader);
		vehicleOdometerEnd = new OdometerShort(reader);
		vehicleFirstUse = new TimeReal(reader);
		vehicleLastUse = new TimeReal(reader);
		vehicleRegistration = new VehicleRegistrationIdentification(reader);
		vuDataBlockCounter = new VuDataBlockCounter(reader);
	}
}
